﻿using System;
using System.Collections.Generic;
using System.Text;

namespace VkSample510
{
    public class FlatData
    {
        public uint VCount { get; set; }

        public float[] Data { get; set; }

        public void GenFlatData()
        {
            VCount = 6;
            Data = new float[]
            { //顶点数据数组
                3, 2, 0, 0, 0, 1, 
                -3, 2, 0, 0, 0, 1, //每个顶点6 个数据
                -3, -2, 0, 0, 0, 1, 
                3, -2, 0, 0, 0, 1, //前3 个是顶点位置坐标XYZ 分量
                3, 2, 0, 0, 0, 1, 
                -3, -2, 0, 0, 0, 1 
            };
        }
    }
}
